package com.bigdata.movieticketapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author movie
 * @since 2023-11-07
 */
@Data
@TableName("movie_type")
@ApiModel(value = "MovieType对象", description = "")
public class MovieType implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("电影类型ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("类型名称")
    private String type;
}
